﻿using Foundation.Core;

namespace Dyao.Book.Application
{
    /// <summary>
    /// 任务中心内部异常
    /// </summary>
    public class InternalTaskCenterException : BusinessException
    {
        public InternalTaskCenterException(string errorCode) : base(errorCode)
        {
        }

        public InternalTaskCenterException(string errorCode, string message) : base(errorCode, message)
        {
        }

        public InternalTaskCenterException(string errorCode, object additionalData) : base(errorCode, additionalData)
        {
        }

        public InternalTaskCenterException(string errorCode, string message, object additionalData) : base(errorCode, message, additionalData)
        {
        }

        public InternalTaskCenterException(string errorCode, string message, Exception innerException) : base(errorCode, message, innerException)
        {
        }

        public InternalTaskCenterException(string errorCode, string message, Exception innerException, object additionalData) : base(errorCode, message, innerException, additionalData)
        {
        }
    }
}
